<?php

App::uses('AppModel', 'Model');

class IndexNode extends AppModel {
    public $useTable='index_nodes';
    /**
     * List of behaviors
     *
     * @var array
     */
     
     public $belongsTo = array(
        'Node'=>array(
            'className'=>'Node.Node',
            'foreignKey'=>'node_id'
        ),
        
         'Index'=>array(
            'className'=>'Node.Index',
            'foreignKey'=>'index_id'
         )
    );   
    }
?>